-- GENERATED SPELL FOR [Bom'bay] --


function spell0_10578(pUnit, Event) --@Voodoo,n/a--
pUnit:FullCastSpellOnTarget(17009,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10578', 1000, 1)
end

function Sorts_10578(pUnit, Event)
local choix_sorts_10578 = math.random(0, 0)
if choix_sorts_10578 == 0 then
pUnit:RegisterEvent('spell0_10578', 1, 1)
end
end

function mob10578_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10578', math.random(1500, 3000), 1)
end

function mob10578_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10578_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10578_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10578, 1, 'mob10578_Action')
RegisterUnitEvent(10578, 2, 'mob10578_Leave')
RegisterUnitEvent(10578, 3, 'mob10578_Kill')
RegisterUnitEvent(10578, 4, 'mob10578_Die')
